import uni from "@dcloudio/vite-plugin-uni";
import uniTailwind from "@uni-helper/vite-plugin-uni-tailwind";
import tailwindcss from "tailwindcss";
import { defineConfig } from "vite";
export default defineConfig({
    plugins: [uni(), uniTailwind()],
    resolve: {
        alias: {
            "@": "/src",
        },
    },
    css: {
        preprocessorOptions: {
            scss: {
                api: "modern-compiler",
                silenceDeprecations: ["legacy-js-api"],
            },
        },
        postcss: {
            plugins: [tailwindcss()],
        },
    },
});
